﻿using UnityEngine;
using System.Collections;

public class spacecraft : MonoBehaviour 
{
	public GameObject player;
	public float velocity;

	// Use this for initialization
	void Start () 
	{
	
	}
	
	// Update is called once per frame
	void Update () 
	{
		transform.RotateAround(player.transform.position, new Vector3(0,0,1), velocity * Time.deltaTime);
	}
}
